<template>
	<b-layout-index>
		<navbar></navbar>
		<view class="bg-white">
			<view class="pd-10">
				<view class="pd-5 font-bold font-size-16 text-center">  <text >{{show.title}}</text>  </view>
				<view class="pd-5  font-size-12">  <text >发货时间</text>:<text>{{$u.timeFormat(show.createDate, 'yyyy-mm-dd hh:MM')}}</text>  </view>
			</view>
			<view class="pd-10">
				<rich-text :nodes="show.content"></rich-text>
			</view>
		</view>
	</b-layout-index>
</template>

<script>
		import {getFindById} from "@/api/handbook.js"
	export default {
		data() {
			return {
				content: " Bu bolsa  sina    ",
				show:{}
			}
		},onLoad:function(options){
			var id=options.id;
			this.getById(id)
		},methods:{
			getById:function(id){
				var the=this;
				getFindById(id).then(res=>{
					console.log(res)
					the.show=res;
				})
			}
		}
	}
</script>

<style>
</style>
